<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h1>贴吧列表</h1>
	<table align="center">
		<tr>
			<th>标题</th>
			<th>发帖人</th>
			<th>时间</th>
			<th>浏览量</th>
		</tr>
		<c:forEach var="sn" items="${list}">
			<tr>
				<td>${sn.title }</td>
				<td>${sn.author }</td>
				<td>${sn.createdate }</td>
				<td>${sn.clickamount }</td>
			</tr>
		</c:forEach>
	</table>
</body>
</html>